package cn.edu.zjut;

import lombok.Data;

/**
 * @ClassName: NodePosition
 * @Description: 结点位置
 * @Author: 12071
 * @Date: 2022/1/21 18:05
 */
@Data
public class NodePosition {
    private String mac;
    private Double x;
    private Double y;
    private Long updateTime;
    //原始位置，仅作为备份
    private Double xOri;
    private Double yOri;

    public NodePosition(String mac, Double x, Double y, Long updateTime){
        this.mac = mac;
        this.x = x;
        this.y = y;
        this.updateTime = updateTime;
        this.xOri = x;
        this.yOri = y;
    }
}
